package com.sun.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sun.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Project: hospitalDrugInformationManagement
 * @Author: 86178
 * @Date: 2023/2/7 10:23
 * @FileName: UserMapper
 * @Description: ""
 */
@SuppressWarnings("all")
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select nick_name from user where id = #{id}")
    String selcetUserName(Long id);
}
